const fs=require('fs')
const path=require('path')
const getModule=(urls)=>{
    let urlArr=fs.readdirSync(urls);
    let newUrl=[]
    urlArr.forEach(v=>{
        const paths=path.join(__dirname,urls,v)
        newUrl.push(paths)
    })
    console.log(newUrl)
}
getModule('./pages')